import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Comments } from "../../interface";

/**
 * 保存或更新 Comments 信息
 * /comments
 */
export function postComments(input: Comments, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/comments`, input, config);
}
